﻿@model KhatVongViet.Models.ArticleCustom
@{
    ViewBag.Title = "Khát Vọng Việt - Trang Chủ";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<!--Slide Show-->
@if (Model.ListSlideShow != null && Model.ListSlideShow.Count > 0)
{
  @Html.Partial("~/Views/Shared/_SildeShowPicturesPartial.cshtml", Model.ListSlideShow)
}
else
{
  @Html.Partial("~/Views/Shared/Error.cshtml")
}


<div class="div_title_large_ver2" style="margin-top:-35px;">
    <a href="@Url.Action("AllDetailNews", "Home")" class="titlelink-main">
        Tin Tức
    </a>
</div>
<!--News Articles-->
@if (Model.ListNewsArticles != null && Model.ListNewsArticles.Count > 0)
{
  @Html.Partial("~/Views/Shared/_TopNewsPartial.cshtml", Model.ListNewsArticles)
}
else
{
  @Html.Partial("~/Views/Shared/Error.cshtml")
}

<div class="div_title_small_ver2" style="margin-top:-20px">
    <a class="titlelink-main" href="@Url.Action("AllDetailActivities", "Home")">
        Hoạt Động 
    </a>
</div>
<div class="div_title_small_ver2" style="margin-left: 25px; margin-top:-20px">
    <a class="titlelink-main" href="@Url.Action("AllDetailNotice", "Home")">
        Thông Báo
    </a>
</div>

<!--Acticvities-->
@if (Model.ListActivities != null && Model.ListActivities.Count > 0)
{
  @Html.Partial("~/Views/Shared/_ActivitiesPartial.cshtml", Model.ListActivities)
}
else
{
  @Html.Partial("~/Views/Shared/Error.cshtml")
}

<!--Notices-->
@if (Model.ListNotices != null && Model.ListNotices.Count > 0)
{
  @Html.Partial("~/Views/Shared/_NoticesPartial.cshtml", Model.ListNotices)
}
else
{
  @Html.Partial("~/Views/Shared/Error.cshtml")
}

<div class="div_title_large_ver2" style="margin-top:-20px">
    <a class="titlelink-main" href="@Url.Action("AllDetailConfession", "Home")">
        Cảm Xúc Việt
    </a>
</div>
<!--Confession-->
@if (Model.ListConfession != null && Model.ListConfession.Count > 0)
{
  @Html.Partial("~/Views/Shared/_ConfessionPartial.cshtml", Model.ListConfession)
}
else
{
  @Html.Partial("~/Views/Shared/Error.cshtml")
}